package com.design_patterns.composite;

/**
 * @author: 李德才
 * @description:
 * @create: 2020-08-29 13:35
 **/
public class FileNode extends Node {
    String name;

    public FileNode(String name) {
        this.name = name;
    }

    @Override
    public void printMe() {
        System.err.println(name);
    }
}
